package com.qfedu.knowledge.exception;

import com.qfedu.knowledge.entity.enums.ResultEnum;
import org.springframework.security.core.AuthenticationException;

/**
 * @ClassName CaptchaException
 * @Author ykx
 * @Date 2024/5/21 16:41
 * @Version 1.0
 */
public class CaptchaException extends AuthenticationException {

    public CaptchaException(String msg) {
        super(msg);
    }

    public CaptchaException(ResultEnum resultEnum) {
        super(resultEnum.getMsg());

    }

}
